/**
 * FlipUpCommand.java
 */
package com;

/**
 * @author Administrator
 * @description   The Command for turning on the light - ConcreteCommand 
 */
public class FlipUpCommand implements Command {
    
	private Light  myLight;
	
	 public FlipUpCommand(Light light) {
	      this.myLight = light;
	 }
	 
	@Override
	public void execute() {
      myLight.turnOn();
	}
   
}
